package com.example.demo.myspring;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class MyBean implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        log.info(" myBean : ----afterPropertiesSet -------");
    }
}
